package com.ruoyi.serve.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务调查管理对象 serve
 *
 * @author ruoyi
 * @date 2023-04-08
 */
public class Serve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务调查的id */
    @Excel(name = "序号")
    private Integer serveId;

    /** 对国税局大厅是否满意 */
    @Excel(name = "对国税局大厅是否满意",readConverterExp = "0=很满意,1=比较满意,2=不满意")
    private Integer satisfaction;

    /** 工作人员业务能力和服务态度 */
    @Excel(name = "工作人员业务能力和服务态度评分(1-5分)")
    private Double serveCapacity;

    /** 最长等待时间 */
    @Excel(name = "最长等待时间")
    private String serveAwait;

    /** 窗口办事效率 */
    @Excel(name = "窗口办事效率")
    private String efficiency;

    /** 建议 */
    @Excel(name = "建议")
    private String suggest;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueTime;


    public void setServeId(Integer serveId)
    {
        this.serveId = serveId;
    }

    public Integer getServeId()
    {
        return serveId;
    }
    public void setSatisfaction(Integer satisfaction)
    {
        this.satisfaction = satisfaction;
    }

    public Integer getSatisfaction()
    {
        return satisfaction;
    }
    public void setServeCapacity(Double serveCapacity)
    {
        this.serveCapacity = serveCapacity;
    }

    public Double getServeCapacity()
    {
        return serveCapacity;
    }
    public void setServeAwait(String serveAwait)
    {
        this.serveAwait = serveAwait;
    }

    public String getServeAwait()
    {
        return serveAwait;
    }
    public void setEfficiency(String efficiency)
    {
        this.efficiency = efficiency;
    }

    public String getEfficiency()
    {
        return efficiency;
    }
    public void setSuggest(String suggest)
    {
        this.suggest = suggest;
    }

    public String getSuggest()
    {
        return suggest;
    }
    public void setIssueTime(Date issueTime)
    {
        this.issueTime = issueTime;
    }

    public Date getIssueTime()
    {
        return issueTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("serveId", getServeId())
                .append("satisfaction", getSatisfaction())
                .append("serveCapacity", getServeCapacity())
                .append("serveAwait", getServeAwait())
                .append("efficiency", getEfficiency())
                .append("suggest", getSuggest())
                .append("issueTime", getIssueTime())
                .toString();
    }
}
